#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : micah
# @time    :  
# @function: 
# @version :

a = 1
b = a

a = 2
print(a, b)

a = [1, 2]
b = a
print(b)
a.append(3)
print(a, b)

# 获取一个变量的引用【内存地址】
a = 100
print(id(a))

a = [1, 2]
print(id(a))
b = a
print(id(b))
